/*
 * @FilePath     : /study_code/less/function-if.less
 * @Description  : 函数 if()
 * @Date         : 2025-04-22 10:20:19
 * @Author       : Fang YingGui
 * @LastEditors  : fangyinggui 18715384437@163.com
 * @LastEditTime : 2025-04-22 10:50:44
 */
@some: foo;

div {
  margin: if((2 > 1), 0, 3px);
  color: if((iscolor(@some)), @some, black);
}

/*
div {
  margin: 0;
  color: black;
}
*/
